package com.chenxingnet.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.ui.Model;

import com.chenxingnet.dto.Role;
import com.chenxingnet.dto.Usercontrol;

public interface ManagerService {
	
	Usercontrol userLogin(String uAccount, String uPassword);

	int userAdd(Usercontrol usercontrol,int    depid);
	
	//判断登陆者角色
	Role selectByRid(Integer rid);
	//根据用户名修改密码
	int updatePwd(Usercontrol user);

	List<Usercontrol> userTest(String username);
	
	void showUserByCount(HttpServletRequest request, Model model);
	
	void delUser(Integer uid);
	
	

}
